package com.cmc.cloud.cmclink.doc.constants;

import java.util.Arrays;
import java.util.List;

/**
 * 通用常量
 *
 * @author dev89
 * @date 2025/07/15 13:28
 **/
public interface CommonConstants {
    String EMAIL_PATTERN = "^[a-zA-Z0-9_+&*-]+(?:\\.[a-zA-Z0-9_+&*-]+)*@(?:[a-zA-Z0-9-]+\\.)+[a-zA-Z]{2,7}$";

    int DEFAULT_MAP_COUNT = 16;

    String APPROVE_SUCCESS = "Approve Success！";

    String REJECT_SUCCESS = "Reject Success！";

    String PENDING_SUCCESS = "Pending On Space Success！";

    String OPERATE_TYPE_APPROVE = "同意";

    String OPERATE_TYPE_REJECT = "拒绝";

    String OPERATE_TYPE_PENDING = "批舱待定";

    String RESPONSE_SUCCESS = "Success";

    String ERROR = "Error";

    int TWO = 2;

    int FOUR = 4;

    int THREE = 3;

    char U = 'U';

    int TEN = 10;
    /**
     * 电子提单签单
     */
    String E = "E";

    /**
     * 电放单
     */
    String T = "T";
    /**
     * 海运单
     */
    String W = "W";
    /**
     * 正本签单
     */
    String B = "B";

    String AK = "AK";

    String F = "F";

    List<String> SIGN_TYPE_LIST = Arrays.asList(E, T, W, B);

    String DATE_START = " 00:00:00";

    String DATE_END = " 23:59:59";

    String PTU_PATTERN = "yyyy-MM-dd HH:mm";

    String DEFAULT_EMAIL_SENDER = "special-cargo@cmhk.com";

    String MARINE_POLLUTANT = "P";

    String SEMICOLON = ";";

    String CSV_DELIMITER = ",";

    String UNDERSCORE = "/";

    String COLON = ":";

    String SINGLE_QUOTE = "'";

    String DEFAULT_VESSEL_CODE = "TBA";

    String EMAIL_CC = "875709150@qq.com";

    String CNNGB = "CNNGB";

    String CNSHA = "CNSHA";

    String DATE_TIME_START = "start";

    String DATE_TIME_END = "end";

    String CONTAINER_20HC = "20HC";

    String CONTAINER_45HC = "45HC";

    String OFA = "OFA";

    String EMC = "EMC";

    String FRT = "FRT";

    String TWENTY = "20";

    String BARGE_OPERATE_TYPE = "Barge";
}
